package com.hewl.shiro.admin.dao;

import org.apache.ibatis.annotations.Insert;

import com.hewl.shiro.admin.entity.SysRolePermission;

public interface RolePermissionMapper {
    @Insert({
        "insert into u_role_permission (rid, pid)",
        "values (#{rid,jdbcType=VARCHAR}, #{pid,jdbcType=VARCHAR})"
    })
    int insert(SysRolePermission record);

    int insertSelective(SysRolePermission record);
}